I've made several attempts at mechanical logic, mainly as a challenge to see what can be done, but also to act as a visualisation aid for computers. Some of these get used in larger projects, such as the Millihertz 5 computer.
Here are some examples: